package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆信息对象 tb_car
 * 
 * @author ruoyi
 * @date 2025-02-12
 */
public class TbCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 车辆品牌 */
    @Excel(name = "车辆品牌")
    private String vehicleBrand;

    /** 车系 */
    @Excel(name = "车系")
    private String vehicleSeries;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal vehiclePrice;

    /** 首付比列 */
    private Long vehiclePayment;

    /** 首付金额 */
    private BigDecimal downAmount;

    /** 贷款金额 */
    private BigDecimal loanAmount;

    /** 车型 */
    @Excel(name = "车型")
    private String vehicleModel;

    /** 套餐 */
    private Long cehicleTc;

    /** 还款期数 */
    private Long vehiclePeriods;

    /** 月供 */
    private BigDecimal monthlyPayment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVehicleBrand(String vehicleBrand) 
    {
        this.vehicleBrand = vehicleBrand;
    }

    public String getVehicleBrand() 
    {
        return vehicleBrand;
    }
    public void setVehicleSeries(String vehicleSeries) 
    {
        this.vehicleSeries = vehicleSeries;
    }

    public String getVehicleSeries() 
    {
        return vehicleSeries;
    }
    public void setVehiclePrice(BigDecimal vehiclePrice) 
    {
        this.vehiclePrice = vehiclePrice;
    }

    public BigDecimal getVehiclePrice() 
    {
        return vehiclePrice;
    }
    public void setVehiclePayment(Long vehiclePayment) 
    {
        this.vehiclePayment = vehiclePayment;
    }

    public Long getVehiclePayment() 
    {
        return vehiclePayment;
    }
    public void setDownAmount(BigDecimal downAmount) 
    {
        this.downAmount = downAmount;
    }

    public BigDecimal getDownAmount() 
    {
        return downAmount;
    }
    public void setLoanAmount(BigDecimal loanAmount) 
    {
        this.loanAmount = loanAmount;
    }

    public BigDecimal getLoanAmount() 
    {
        return loanAmount;
    }
    public void setVehicleModel(String vehicleModel) 
    {
        this.vehicleModel = vehicleModel;
    }

    public String getVehicleModel() 
    {
        return vehicleModel;
    }
    public void setCehicleTc(Long cehicleTc) 
    {
        this.cehicleTc = cehicleTc;
    }

    public Long getCehicleTc() 
    {
        return cehicleTc;
    }
    public void setVehiclePeriods(Long vehiclePeriods) 
    {
        this.vehiclePeriods = vehiclePeriods;
    }

    public Long getVehiclePeriods() 
    {
        return vehiclePeriods;
    }
    public void setMonthlyPayment(BigDecimal monthlyPayment) 
    {
        this.monthlyPayment = monthlyPayment;
    }

    public BigDecimal getMonthlyPayment() 
    {
        return monthlyPayment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vehicleBrand", getVehicleBrand())
            .append("vehicleSeries", getVehicleSeries())
            .append("vehiclePrice", getVehiclePrice())
            .append("vehiclePayment", getVehiclePayment())
            .append("downAmount", getDownAmount())
            .append("loanAmount", getLoanAmount())
            .append("vehicleModel", getVehicleModel())
            .append("cehicleTc", getCehicleTc())
            .append("vehiclePeriods", getVehiclePeriods())
            .append("monthlyPayment", getMonthlyPayment())
            .toString();
    }
}
